package com.xdq.spring.dao;

import com.xdq.spring.model.Engine;

import java.util.List;

public interface EngineDAO {

    Engine findByBrand(String brand);

    List<Engine> findAll();

    void add(Engine newEngine);
}
